package team.pra.manager.service;

import team.pra.manager.common.ManagerResult;
import team.pra.manager.common.PageHelper;
import team.pra.manager.pojo.Room;

import java.util.List;

public interface RoomService {
    PageHelper findRoomByPage(Integer code, Integer size);
    void findRoomByCondition(PageHelper<Room> pageHelper);
    ManagerResult insertRoom(Room room);
    ManagerResult updateRoom(Room room);
    ManagerResult deleteRoom(Integer id);
    List<Room> findAllRooms();
}
